package cn.bgs.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

//public class UserVo {
    @Data
    @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="User对象", description="")
    public class UserVo implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "用户id")
        private Integer userId;

        @ApiModelProperty(value = "手机号")
        private String phone;

        @ApiModelProperty(value = "登录密码")
        private String passWord;

        @ApiModelProperty(value = "邮箱号")
        private String email;

        @ApiModelProperty(value = "姓名")
        private String userName;

        @ApiModelProperty(value = "性别")
        private String sex;

        @ApiModelProperty(value = "身份证号")
        private String idCard;

        @ApiModelProperty(value = "与业主关系（本人、亲属、朋友、租户）")
        private String relationShip;

        @ApiModelProperty(value = "身份（业主、管理员） ")
        private String identity;

        @ApiModelProperty(value = "钱包余额")
        private Double balance;

        @ApiModelProperty(value = "注册时间")
        private LocalDateTime registrationTime;

        @ApiModelProperty(value = "备注")
        private String remark;

        @ApiModelProperty(value = "住户来源（默认app注册）")
        private String residentSource;

        @ApiModelProperty(value = "创建时间")
        private LocalDateTime createTime;

        @ApiModelProperty(value = "修改时间")
        private LocalDateTime updateTime;

        @ApiModelProperty(value="中间表id")
        private  String middleId;
}
